package com.sunshine.user.service;

import com.sunshine.user.dto.UserRegisterDTO;
import com.sunshine.user.entity.Users;
import sunshine.commcon.util.entity.Result;


/**
 * (Users)表服务接口
 *
 * @author makejava
 * @since 2025-09-14 17:25:41
 */
public interface UsersService {

    /**
     * 用户注册
     * @param userRegisterDTO
     * @return
     */
    Result<Boolean> register(UserRegisterDTO userRegisterDTO);

    /**
     * 用户登录
     * @return
     */
    Result<Users> login(String username, String password);



    /**
     * 用户修改密码
     */
    Result<Boolean> updatePassword(UserRegisterDTO userRegisterDTO );




}